<template>
  <div class="dYsIndex">
    <!-- <h额外供你了问</h1> -->
    <!--  @focus="hj" 获焦 -->
    <input type="text" v-model="val.count" @blur="sj(val.count)">
    {{val.goodsName}}
    <span v-show="val.count==0">
        卖光了！！！
    </span>
</div>
</template>

<script>
export default {
    name:'dYsIndex',
    props:['val'],
    data(){
        return{

        }
    },
    methods:{
        sj(v){
            console.log(v);
        }
    }
}
</script>

<style>

</style>